package com.xin.bi.common;

import lombok.Data;

import java.io.Serializable;

@Data
public class BaseResponse<T> implements Serializable {

    public boolean flag;
    public T data;
    public String message;

    public BaseResponse() {
    }

    public BaseResponse(boolean flag, T data, String message) {
        this.flag = flag;
        this.data = data;
        this.message = message;
    }
}
